package com.wangyb.multitenant.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.annotation.Excel;

/**
 * 租户对象 mt_tenant
 *
 * @author ruoyi
 * @date 2021-06-23
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mt_tenant")
public class MtTenant implements Serializable {

    private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "tenant_id",type = IdType.AUTO)
    private Long tenantId;

    /** 企业名称 */
    private String name;

    /** (企业代码)统一社会信用代码 */
    private String socialCode;

    /** 手机号码 */
    private String mobile;

    /** 负责人 */
    private String chief;

    /** 备注 */
    private String remark;

    /** 删除标志(0代表存在 2代表删除) */
    @TableLogic
    private String delFlag;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
